package com.example.sys.log.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseCorePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "日志信息")
@TableName(value = "sys_log")
public class SysLog extends BaseCorePo<SysLog> {

    @ApiModelProperty(value = "操作人id")
    @TableField(value = "element_id")
    private String elementId;

    @ApiModelProperty(value = "操作人名称")
    @TableField(value = "element_name")
    private String elementName;

    @ApiModelProperty(value = "操作方法")
    @TableField(value = "method")
    private String method;

    @ApiModelProperty(value = "操作IP")
    @TableField(value = "ip")
    private String ip;
}
